﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Account_Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h2>
        Log In
    </h2>
    <p>
        Please enter your username and password.
    </p>
    <p>
        <asp:Label ID="Label4" runat="server" ForeColor="Red" 
            Text="Invalid Username or Password" Visible="False"></asp:Label>
    </p>
    <asp:Panel ID="Panel1" runat="server" Height="275px" Width="334px">
        <table class="style1">
            <tr>
                <td class="style2">
                    <asp:Label ID="Label1" runat="server" Text="Username" 
                        AssociatedControlID="TextBox1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="Enter Username"></asp:RequiredFieldValidator>
                    <br />
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label2" runat="server" Text="Password" 
                        AssociatedControlID="TextBox2"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="Enter Password"></asp:RequiredFieldValidator>
                    <br />
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2">
                  &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp 
                   
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Login" style="height: 26px"/>
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Cancel" 
                        UseSubmitBehavior="False" style="height: 26px" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>

